package cn.xhy.material.controller.admin.commodityinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 商品信息新增/修改 Request VO")
@Data
public class CommodityInfoSaveReqVO {

    @Schema(description = "商品信息id标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "10825")
    private Long id;

    @Schema(description = "子件id", example = "1966")
    private String sonId;

    @Schema(description = "条码")
    private String barCode;

    @Schema(description = "商品类型", example = "1")
    private String productType;

    @Schema(description = "类别")
    private String category;

    @Schema(description = "货物名称", example = "王五")
    private String gname;

    @Schema(description = "型号")
    private String model;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "状态(1启用)")
    private Integer stats;

    @Schema(description = "(1项目，2办公)", example = "2")
    private String type;

    @Schema(description = "(1有 2没有)")
    private Integer isBatchnumber;

    @Schema(description = "描述")
    private String describe;

    @Schema(description = "规格")
    private String specif;

    @Schema(description = "是否可拆分（1是2否）")
    private String isSplit;

}
